import Vue from 'vue'
import App from './App.vue'
import router from './router' // 导入路由配置文件
import store from './store'
import './permission'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'normalize.css'
import '@/assets/css/base.css'
import api from './api';


Vue.prototype.$api =api;
Vue.config.productionTip =false

Vue.config.productionTip = false
Vue.use(ElementUI);

//注册全局组件
import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel', JsonExcel)

import Breadcrumb from './components/Breadcrumb/Breadcrumb.vue'
Vue.component('Breadcrumb', Breadcrumb)
import i18n from "@/lang";

new Vue({
  store,
  router,
  i18n,
  render: h => h(App)
}).$mount('#app')
